package com.sam.util;

import com.alibaba.fastjson.JSON;

import java.util.Collection;

public class PrintUtil {
    public static void printlnObjectToJson(Object o) {
        System.out.println(JSON.toJSONString(o));
    }

//    public static void printlnCollectionToJson(Collection o) {
//        System.out.println(JSON.toJSONString(o));
//    }
}
